String[].ExistSorted (gb)

Function ExistSorted ( Value As String [ , Mode As Integer ] ) As Boolean

Desde 3.16

Return if the specified string exists in the array.

The Mode argument is one of the comparison methods available.

See Predefined Constants for a list of comparison methods.

This method only works if the array is sorted.

But it is faster than the Exist method as it uses a binary search algorithm.